<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<!DOCTYPE HTML>
<html lang="en-US">
<head>
	<meta charset="UTF-8">
	<link rel="stylesheet" href="css/bootstrap.css" />
	<link rel="stylesheet" href="wall.css" />
	<script type="text/javascript" src="js/jquery.js"></script>
	
	<title>任务</title>
	<style type="text/css">
		body{
			background-image:url(img/scribble_light.png);
		}
		
	</style>	
</head>
<body>
	<div class="navbar">
		<div class="navbar-inner">
			<div class="container">
				<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
				  <span class="icon-bar"></span>
				  <span class="icon-bar"></span>
				  <span class="icon-bar"></span>
				</a>
				<a class="brand" href="#" style="margin-left:50px">${projectname }</a>
				<div class="nav-collapse">
				  <ul class="nav">
					<li><a href="main.jspx">最新动态</a></li>
					<li class="active"><a href="goal.jspx">目标</a></li>
					<li><a href="document.jspx">资料库</a></li>
					<li><a href="filetype.jspx">文件共享</a></li>
					<li><a href="person.jspx">联系人</a></li>
					<li><a href="idea.jspx">想法</a></li>
					<li><a href="#">Bug</a></li>
					<li><a href="#">项目设置</a></li>					
				  </ul>					
				</div>
			</div>
		</div>
	</div>
	<div class="container" style="margin-left:200px;">
	    <div class="row">
			<div class="first">
				<div class="span6">				
					<h2>任务</h2>						
				</div>
				
			</div>
		</div>
		<c:forEach items="${requestScope.task}" var="t" >
		<div class="row" style="margin-top:20px;">
			<div class="span9">
				<ul class="breadcrumb">
					<li class="active">
						<a href="task.jspx?_m=task&id=${t.id}"><i class="icon-th"></i>${t.taskname}</a>
					</li>
					
				</ul>
				<div style="height:50px">
					<p>${t.tasktext}</p>
					<div class="progress progress-danger">
						<div class="bar" style="width: ${t.rate}%;">已完成${t.rate}%</div>
					</div>
				</div>
			</div>
		</div>
		</c:forEach>	
	</div>
	
</body>
</html>